// table个数/column表头/表单初始值/表单校验
export const tableOptions = {
  table1: {
    tableName: 'table1',
    tableColumn: [
      { key: 'date', date: '', label: '日期', validate: ['required', 'ipv4'] },
      { key: 'name', name: '', label: '姓名' },
      { key: 'address', address: '', label: '地址', validate: ['required'] }
    ],
    addShow: true
  },
  table2: {
    tableName: 'table2',
    tableColumn: [
      { key: 'name2', name2: "", label: '姓名2', value: ''},
      { key: 'age2', age2: "", label: '年龄2', value: '' },
      {
        key: 'sex2', sex2: "", label: '性别2', value: '', type: 'select', validate: ['selected'], selectOption: [
          {
            value: '0',
            label: '男',
          },
          {
            value: '1',
            label: '女',
          }
        ]
      }
    ],
    addShow: true
  },
  table3: {
    tableName: 'table3',
    tableColumn: [
      { key: 'date', date: "", label: '日期3', value: '' },
      { key: 'age', age: "", label: '年龄3', value: '' },
      { key: 'address', address: "", label: '地址3', value: '' }
    ],
    addShow: false
  },
  table4: {
    tableName: 'table4',
    tableColumn: [
      { key: 'name4', name4: '', label: '姓名4', value: '' },
      { key: 'age4', age4: '', label: '年龄4', value: '' },
      { key: 'sex4', sex4: '', label: '性别4', value: '' }
    ],
    addShow: false
  },
  table5: {
    tableName: 'table5',
    tableColumn: [
      { key: 'name5', name5: '', label: '姓名5', value: '' },
      { key: 'age5', age5: '', label: '年龄5', value: '' },
      { key: 'sex5', sex5: '', label: '性别5', value: '', validate: ['required'] }
    ],
    addShow: true
  },

}